body.dark-mode .fex-box{
    border: 1px solid #000;
}
body.dark-mode .fex-box:hover{
    border: 5px solid #000;
}
body.dark-mode .fex-box:hover i,
body.dark-mode .fex-box:hover h1{
    color: #ce68ed !important;
}

body.dark-mode #lait .p1{
    display: none;
}

body.dark-mode #lait .p2{
    display: inline;
}

body.dark-mode #messages  .topic:hover{
    background-color: #fff;
}
body.dark-mode #messages  .topic:hover i,
body.dark-mode #messages  .topic:hover h1{
    color: #8e13d6 !important;
}

body.dark-mode #education{
    border: 1px solid #000;
}
body.dark-mode #education:hover{

    border: 5px solid #ce68ed;
}
body.dark-mode #education .p:hover{
color: #ce68ed;
}
body.dark-mode  #messages  .topic{
    background-color: #fff;
}

#lait{
    display: flex;
    padding-left: 90px;
}
#lait .pimg {
height: 150px;
width: 60px;
margin-left: 46px;
}
#lait img {
    cursor: pointer;
    width: 150px; /* Adjust size */
    height: auto;
}



p,i{
    font-size: 30px;
    color: #fff;
    padding-top: 10px;
}
p{
    font-size: 25px;
}
p:hover{
    color: blueviolet;
    font-weight: 600;
}
address{
    color: blueviolet;
}
.edu{
    color: blue;
    font-size: 10px;
}


img{
    height: 300px;
}

#education{
    border:1px solid #fff;
    padding: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#education:hover{
    border: 5px solid #ce68ed;
}


#lait img{
    height:150px;
}

#edu-group{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fex-box{
    border:1px solid #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.fex-box:hover{
    background-color: rgb(123, 120, 120);
}


.fex-box i{
    padding-top: 10px;
    font-size: 100px;
}
.fex-box:hover i,
.fex-box:hover h1{
color: #ce68ed;;
}

.p2{
    display: none;
}




#messages-group{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 40px 0;
  }

  #messages  .topic{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding:20px;
    width: 230px;
    height: 230px;
    background-color:#000;
    text-align: center;
    position: relative;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

/* #messages  .topic:hover{
    background-color: #060505;
} */

#messages .topic:hover p{
    display: inline;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    background-color:rgba(192, 109, 247, .7);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#messages .topic p{
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
    font-weight: 800;
    display: none;
}

#messages  .topic:hover i,
#messages  .topic:hover h1{
    color: #8e13d6 !important;
}

@property --angle{
    syntax:"<angle>";
    initial-value: 0deg;
    inherits: false;
  }

  #messages .topic::after,
  #messages .topic::before{
    border-radius: 10px;
    content: "";
    height: 103%;
    width: 103%;
    position: absolute;
    background-image: conic-gradient(from var(--angle), transparent 90%,rgb(249, 96, 249));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    border-radius: 10px;
    animation: 3s spin linear infinite;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    -webkit-animation: 3s spin linear infinite;
}
  
  #messages .topic::before{
    filter: blur(1.5rem);
    opacity: 0.5;
    -webkit-filter: blur(1.5rem);
  }
  
  @keyframes spin{
    from{
      --angle:0deg;
    }
    to{
      --angle:360deg;
    }
  }
  #messages i{
  font-size: 40px;
  padding-bottom: 20px;
  color: #c068f3;
  } 
  
  #messages h1{
    font-size: 30px;
    padding-bottom: 20px;
  }
  

/* img round hover  */
#rotatingImage {
    transition: transform 1s ease-in-out; /* Smooth animation */
}

#rotatingImage:hover {
    transform: rotate(360deg); /* Rotate 360 degrees on hover */
}
